package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Date;

/**
 * 我的收藏
 *
 */
@Getter
@Setter
@JsonIgnoreProperties({"handler,json,StateName"})
public class MyCollection extends BaseDomain{

    private Travel travel;//收藏游记

    private Strategy strategy;//收藏攻略

    private News news;//收藏日报

    private User user;//用户

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss" ,timezone = "GMT+8")
    private Date collectTime;//收藏时间


}